package com.mk.wardsystemserver.service;

import com.mk.wardsystemserver.pojo.Medicine;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mk.wardsystemserver.pojo.RespBean;
import com.mk.wardsystemserver.pojo.RespPageBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 * @since 2022-03-24
 */
public interface IMedicineService extends IService<Medicine> {
    /**
     * 获取药物信息
     * @param pageCurrent
     * @param pageSize
     * @param medicine
     * @return
     */
    RespPageBean getMedicineByPage(Integer pageCurrent, Integer pageSize, Medicine medicine);

    /**
     * 获取id和name
     * @return
     */
    List<Medicine> getMedicineName();

}
